package com.wzw.springboot.principle.use.security.service;

import com.wzw.springboot.principle.use.security.enums.AuthenticationEnum;

/**
 * 用户认证授权服务
 *
 * @author Wangzhiwen
 */
public interface UserAuthService {

    String login(AuthenticationEnum authenticationEnum, String principal, String credentials);

    String loginByThirdParty(String type, String authCode, String terminal);

    void logout(Long userId);

}
